package com.fgxia.user.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 时间节点 vo
 *
 * @author yyt
 * @date 2024-04-20
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DateNodeVo {

    private String text;

    private String value;

    private List<DateNodeVo> children;

    public DateNodeVo(String text, String value) {
        this.text = text;
        this.value = value;
    }
}
